Parser
nom.Parser
Type Parameters
Functions
map(OM:Any,mapper Unary (outcome OM) O) => nom.this.Parser I R OM¶[src]
returns a parser that uses this parser
but maps the result to another type.
but maps the result to another type.
map_input(I2:Any,map_fn Unary I I2) => nom.this.Parser I2 R O¶[src]
map input to parser p
wrap an existing parser.
using `map_fn` to map input of type `I2`
to the parsers input type `I1`.
wrap an existing parser.
using `map_fn` to map input of type `I2`
to the parsers input type `I1`.
0.099dev (GIT hash e2d5298d8107bb5fe79600fdb06a49bc75756344)
parse takes an input of type I
and returns either an error
or a result of type O and a rest of type R